package cn.iocoder.yudao.module.shop.info.vo;

import cn.iocoder.yudao.framework.common.validation.InEnum;
import cn.iocoder.yudao.module.api.shop.info.enums.ShopStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "店铺经营状态更新 Request VO")
@Data
public class ShopStatusUpdateReqVO {

    @Schema(description = "唯一编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "唯一编号不能为空")
    private Long id;

    @Schema(description = "状态：0-未开通、1-营业中、2-停业中", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态不能为空")
    @InEnum(value = ShopStatusEnum.class, message = "状态必须是 {value}")
    private Integer status;

}
